{_include admin_menu}
<?php PageUtil::addVar("stylesheet","<link href=\"".$stylepath."/manageBrand.css\" rel=\"stylesheet\">");?>
<form action="<?php echo base_url('admin/brand/addmodel'); ?>" method="post" class="form-horizontal" >
  <div class="left_content">    
    <legend>เพิ่มรุ่นสำหรับยี่ห้อ <?php echo $brand[0]["name"];?></legend>
    <input type="hidden" name="brand_id" value="<?php if(!empty($brand[0]['id'])) echo $brand[0]['id']; ?>">
    <div class="control-group">
      <label class="control-label" for="name">ชื่อรุ่น</label>
      <div class="controls">
        <textarea name="name" rows="10"></textarea>
        <p>
          <small>1 แถวต่อ 1 Tag</small>
        </p>
      </div>
    </div>

    <div class="control-group">
      <div class="controls">
        <button type="submit" class="btn btn-primary" id="submitbtn" name="submit" value="submit">Submit</button>
        <button type="reset" class="btn">Cancel</button>
      </div>
    </div>
  </div>
</form>
